import { GetRecordOption } from "./DataOption";

export interface GetRequestOption {
    index: number;
    get_option: GetRequestNormalOption | GetRequestNormalListOption | GetRequestRecordOption
    | GetRequestRecordOptionList | GetRequestNextOption
}


export interface GetRequestNormalOption {
    piid: String;
    oad: String;
}

export interface GetRequestNormalListOption {
    piid: String;
    seqOfOad: Array<String>;
}

export interface GetRequestRecordOption {
    piid: String;
    get_record: GetRecordOption;
}

export interface GetRequestRecordOptionList {
    piid: String;
    seqOfGetRecord: Array<GetRecordOption>;
}

export interface GetRequestNextOption {
    piid: String;
    recentBlock: number;
}
